#ifndef __OUNIT_CENTER_H__
#define __OUNIT_CENTER_H__
#include "platform\oUnitDef.h"

class oUnitCenter
{
private:
	static int loadCount;
	static int loadIndex;
	static oBodyDef* bodyDefTerrainRect;
	static oUnitDef* unitDefTerrainRect;
	static oUnitDef* unitDefFlandre;
	static oUnitDef* unitDefDorothy;
	static oUnitDef* unitDefVilly;
	static oUnitDef* unitDefBunnyp;
	static oUnitDef* unitDefBunnyg;
	static oUnitDef* unitDefRedBrick1;
	static oUnitDef* unitDefBlueBrick1;
	static oUnitDef* unitDefGreenBrick1;
	static oUnitDef* unitDefGreyBrick1;
	static oUnitDef* unitDefEmptyBrick2;
	static oUnitDef* unitDefGreyBrick4;
	static oUnitDef* unitDefJadeBrick4;
	static oUnitDef* unitDefSwitch;
	static oUnitDef* unitDefSwitchg;
	static oPlatformWorld* world;
public:
	static void loadFlandre();
	static void loadDorothy();
	static void loadVilly();
	static void loadBunnyp();
	static void loadBunnyg();
	static void loadSwitch();
	static void loadSwitchg();
	static void loadRedBrick1();
	static void loadBlueBrick1();
	static void loadGreenBrick1();
	static void loadGreyBrick1();
	static void loadEmptyBrick2();
	static void loadGreyBrick4();
	static void loadJadeBrick4();
	static void loadPoke();
	static void loadSound0();
	static void loadSound1();
	static void loadSound2();
	static void loadSound3();
	static void loadSound4();
	static void loadSound5();
	static void loadSound6();
	static void loadSound7();
	static void loadSound8();
	static void loadSound9();
	static void loadSound10();
	static void loadSound11();
	static void loadSound12();
	static void loadSound13();
	static void loadSound14();
	static void loadSound15();
	static int totalLoad();
	static int currentLoad();
	static bool load();
	static void unload();
	static void setWorld(oPlatformWorld* world);
	static oBody* createTerrainRect(float width, float height, float x, float y);
	static oUnit* createFlandre(bool isMe, float x, float y);
	static oUnit* createDorothy(bool isMe, float x, float y);
	static oUnit* createVilly(bool isMe, float x, float y);
	static oUnit* createBunnyp(bool isMe,float x, float y);
	static oUnit* createBunnyg(bool isMe, float x, float y);
	static oUnit* createSwitch(bool isMe, float x, float y);
	static oUnit* createSwitchg(bool isMe, float x, float y);
	static oUnit* createRedBrick1(bool isMe, float x, float y);
	static oUnit* createBlueBrick1(bool isMe, float x, float y);
	static oUnit* createGreenBrick1(bool isMe, float x, float y);
	static oUnit* createGreyBrick1(bool isMe, float x, float y);
	static oUnit* createEmptyBrick2(bool isMe, float x, float y);
	static oUnit* createGreyBrick4(bool isMe, float x, float y);
	static oUnit* createJadeBrick4(bool isMe, float x, float y);
	static oUnit* createPoke(bool isMe, float x, float y);
	static oUnit* createBunnyFighter(bool isMe, float x, float y);
	static oUnit* createBunnySwitcher(bool isMe, int id, float x, float y);
	static oBody* createRect(const char* clipname, float x, float y );
	static oBody* createBoarder( float width, float height, float x, float y );

};

#endif